package com.newcoder.community.serverce;

import com.newcoder.community.pojo.LoginTicket;

import java.util.Map;

public interface LoginTicketService {
    public int insertTicket(LoginTicket loginTicket);
    public LoginTicket selectByTicket(String ticket);
    public int updateStatus(String ticket,int status);
    public Map<String, String> login(String username, String password, int expiredSeconds);
    public void logOut(String ticket);
}
